package cn.sdack.go.users.dao;

import cn.sdack.go.common.entities.users.DictEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author sdack
 * @date 2024/2/17
 */
public interface DictDao  extends JpaRepository<DictEntity,Long> {

    List<DictEntity> findAllByCodeAndDelIsNull(String code);

    DictEntity findByCodeAndDelIsNull(String code);
}
